class Solution:
    def partition(self, s: str) -> list[list[str]]:
        res = []
        temp = []


"""
如何划分间隔，如何回溯划分间隔
"""

if __name__ == '__main__':
    s = "aab"
    solution = Solution()
    res = solution.partition(s)
    print(res)

